ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

PHP Completions Kit

by gerardroche ALL

PHP completions for Sublime Text.

Details

Installs

  • Total 104K
  • Win 66K
  • Mac 17K
  • Linux 21K
Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25
Windows 0 1 3 3 5 0 0 2 0 3 2 0 2 2 1 1 3 2 2 5 2 1 2 1 1 5 8 3 1 4 5 5 8 3 3 3 4 3 6 5 2 5 3 1 5 6
Mac 0 2 0 1 0 0 2 1 0 2 0 0 0 2 0 1 0 0 2 1 0 0 0 1 1 0 0 0 1 2 1 1 1 1 2 0 0 0 1 0 1 1 0 1 1 0
Linux 0 0 0 1 0 0 1 0 3 1 1 1 2 1 3 0 1 1 1 0 3 2 0 1 5 2 1 1 1 2 2 1 1 5 0 1 0 0 1 2 0 0 0 0 1 2

Readme

Source
raw.​githubusercontent.​com

PHP Completions Kit

PHP completions for Sublime Text.

✨ Features

  • 🔥 PHP >= 8.2
  • ⚡ Scoped to minimise auto-complete noise.
  • 🚀 Language constructs, methods, constants, functions, type hints including classes, interfaces, and exceptions.
  • 📦 Supported extensions: bcmath, bz2, calendar, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, intl, json, libxml, mbstring, mhash, mysql, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, readline, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, wddx, xdebug, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend, OPcache, zip, zlib

Installation

Package Control installation

The preferred method of installation is Package Control.

Manual installation

Close Sublime Text, then download or clone this repository to a directory named PHP Completions Kit in the Sublime Text Packages directory for your platform:

  • Linux: git clone https://github.com/gerardroche/sublime-phpck.git ~/.config/sublime-text-3/Packages/PHP Completions Kit
  • OSX: git clone https://github.com/gerardroche/sublime-phpck.git ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/PHP Completions Kit
  • Windows: git clone https://github.com/gerardroche/sublime-phpck.git %APPDATA%\Sublime/ Text/ 3/Packages/PHP Completions Kit

Usage

OS X Windows Linux Description
Ctrl+Space Ctrl+Space Alt+/ Activate completions

Settings

Setting Default Description
auto_complete true Enable auto complete to be triggered automatically when typing.
auto_complete_commit_on_tab false By default, auto complete will commit the current completion on enter. This setting can be used to make it complete on tab instead. Completing on tab is generally a superior option, as it removes ambiguity between committing the completion and inserting a newline.
auto_complete_with_fields false Controls if auto complete is shown when snippet fields are active. Only relevant if auto_complete_commit_on_tab is true.

Menu → Preferences → Settings:

{
    "auto_complete_commit_on_tab": true,
    "auto_complete_with_fields": true
}

Changelog

See CHANGELOG.md.

License

Released under the GPL-3.0-or-later License.